<template>
    <j-modal
      :title="title"
      :width="800"
      :visible="visible"
      :confirmLoading="confirmLoading"
      switchFullscreen
      @cancel="handleCancel"
      :footer="false"
      cancelText="关闭">
      <a-descriptions >
    <a-descriptions-item label="真实姓名">
      {{model.userName}}
    </a-descriptions-item>
    <a-descriptions-item label="充值金额">
      {{model.rechargeAmount}}
    </a-descriptions-item>
    <a-descriptions-item label="提现金额">
      
    </a-descriptions-item>
    <a-descriptions-item label="余额">
      
    </a-descriptions-item>
    <a-descriptions-item label="电话">
     
    </a-descriptions-item>
  </a-descriptions>
    </j-modal>
  </template>
  
  <script>
    import { httpAction } from '@/api/manage'
    import moment from "moment"
  
    export default {
      name: "AssetModal",
      data () {
        return {
          title:"明细",
          visible: false,
          model: {},
          labelCol: {
            xs: { span: 24 },
            sm: { span: 5 },
          },
          wrapperCol: {
            xs: { span: 24 },
            sm: { span: 16 },
          },
  
          confirmLoading: false,
          validatorRules:{
          },
          url: {
            add: "/asset/asset/add",
            edit: "/asset/asset/edit",
          },
        }
      },
      created () {
      },
      methods: {
        add () {
          //初始化默认值
          this.edit({});
        },
        edit (record) {
          this.model = Object.assign({}, record);
          this.visible = true;
        },
        close () {
          this.$emit('close');
          this.visible = false;
        },
        handleCancel () {
          this.close()
        },
  
  
      }
    }
  </script>
  
  <style lang="less" scoped>
  
  </style>